#define  _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<deque>
using namespace std;

void PrintDeque(const deque<int>&v)
{
	for (deque<int>::const_iterator it = v.begin(); it < v.end() ;it++)
	{
		cout << *it << endl;
	}
}

void test01()
{
	int j = 0;
	deque<int>d1;
	for ( j = 0; j < 10; j++)
	{
		d1.push_back(j);
	}
	PrintDeque(d1);
}

int main()
{
	test01();
	system("pause");
	return 0;
}